package com.ffggffgfv.backend.dto;

import java.util.List;

/**
 * 订单创建数据传输对象
 */
public class OrderCreateDTO {    private String remark;                 // 订单备注
    private Long shippingId;               // 收货地址ID
    private List<Long> selectedCartItems;  // 选中的购物车项ID列表，如果为空，则表示下单所有已选中的购物车商品
    private Boolean buyNow;                // 是否为立即购买，true表示立即购买无需收货地址

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getShippingId() {
        return shippingId;
    }

    public void setShippingId(Long shippingId) {
        this.shippingId = shippingId;
    }

    public List<Long> getSelectedCartItems() {
        return selectedCartItems;
    }    public void setSelectedCartItems(List<Long> selectedCartItems) {
        this.selectedCartItems = selectedCartItems;
    }

    public Boolean getBuyNow() {
        return buyNow;
    }

    public void setBuyNow(Boolean buyNow) {
        this.buyNow = buyNow;
    }
}
